package org.juc.eightlock;
// 两个静态方法同步方法，同一部手机，请问先打印邮件还是短信？
public class PhoneExample3 {
    public static void main(String[] args) {
        Phone1 phone1 = new Phone1();
        Phone1 phone2 = new Phone1();
        new Thread(()->{  Phone1.sendEmail();  },"A").start();
        new Thread(()->{  Phone1.sendSMS();  },"B").start();
    }
}
